<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="zh" xml:lang="zh" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Tool Mentor: 使用 Rational Rose 管理时序图</title>
<meta name="uma.type" content="ToolMentor">
<meta name="uma.name" content="manage_sequence_diagrams">
<meta name="uma.presentationName" content="使用 Rational Rose 管理时序图">
<meta name="uma.category" content="Tool:rup_rose_classic:Rational Rose">
<meta name="element_type" content="tool_mentor">
<meta name="tool" content="Rational Rose">
<meta name="filetype" content="description">
<meta name="role" content="">
<link rel="StyleSheet" href="./../../../css/default.css" type="text/css">
<script src="./../../../scripts/ContentPageResource.js" type="text/javascript" language="JavaScript"></script><script src="./../../../scripts/ContentPageSection.js" type="text/javascript" language="JavaScript"></script><script src="./../../../scripts/ContentPageSubSection.js" type="text/javascript" language="JavaScript"></script><script src="./../../../scripts/ContentPageToolbar.js" type="text/javascript" language="JavaScript"></script><script src="./../../../scripts/contentPage.js" type="text/javascript" language="JavaScript"></script><script type="text/javascript" language="JavaScript">
					var backPath = './../../../';
					var imgPath = './../../../images/';
					var nodeInfo=null;
					contentPage.preload(imgPath, backPath, nodeInfo,  '', false, false, false);
				</script>
</head>
<body>
<div id="breadcrumbs"></div>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top"><a name="Top"></a>
<div id="page-guid" value="{70C1E98C-D6AC-4278-8554-1E000AF5A57D}"></div>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td class="pageTitle" nowrap="true">Tool Mentor: 使用 Rational Rose 管理时序图</td><td width="100%">
<div align="right" id="contentPageToolbar"></div>
</td><td width="100%" class="expandCollapseLink" align="right"><a name="mainIndex" href="./../../../index.htm"></a><script language="JavaScript" type="text/javascript" src="./../../../scripts/treebrowser.js"></script></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="pageTitleSeparator"><img src="./../../../images/shim.gif" alt="" title="" height="1"></td>
</tr>
</table>
<div class="overview">
<table width="97%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50"><img src="./../../../images/toolmentor.gif" alt="" title=""></td><td>
<table class="overviewTable" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">此工具向导描述如何使用 Rational Rose 创建时序图，该图显示对象之间的交互。</td>
</tr>
<tr>
<td>Tool: <a href="./../../../rup/tools/rup_rose_classic_20F2524D.html" guid="{06FB737B-5D74-4C3B-98F4-36153CFB2E34}">Rational Rose</a> </td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<div class="sectionHeading">Relationships</div>
<div class="sectionContent">
<table class="sectionTable" border="0" cellspacing="0" cellpadding="0">
<tr valign="top">
<th class="sectionTableHeading" scope="row">Related Elements</th><td class="sectionTableCell">
<ul>
<li>
<a href="./../../../rup/tasks/use_case_analysis_A6990185.html" guid="{28014615-A62F-452D-B821-30C7CAB0EC44}">用例分析</a>
</li>
<li>
<a href="./../../../rup/tasks/use_case_design_92D13EEE.html" guid="{76E2B93D-051C-4B8C-BEA1-B40A40CBD986}">用例设计</a>
</li>
</ul>
</td>
</tr>
</table>
</div>
<div class="sectionHeading">Main Description</div>
<div class="sectionContent">
<table class="sectionTable" border="0" cellspacing="0" cellpadding="0">
<tr valign="top">
<td class="sectionTableSingleCell"><a id="Top" name="Top"></a> 
<h3>
    概述
</h3>
<p>
    以下是使用时序图描述对象之间的交互要执行的步骤摘要：
</p>
<ol>
    <li class="mvd-P">
        <a class="elementLinkWithUserText" href="./../../../rup/guidances/toolmentors/manage_sequence_diagrams_C11A1E78.html" guid="{70C1E98C-D6AC-4278-8554-1E000AF5A57D}">在用例实现下创建时序图</a>
    </li>
    <li class="mvd-P">
        <a class="elementLinkWithUserText" href="./../../../rup/guidances/toolmentors/manage_sequence_diagrams_C11A1E78.html" guid="{70C1E98C-D6AC-4278-8554-1E000AF5A57D}">将参与对象和参与者放入时序图</a>
    </li>
    <li class="mvd-P">
        <a class="elementLinkWithUserText" href="./../../../rup/guidances/toolmentors/manage_sequence_diagrams_C11A1E78.html" guid="{70C1E98C-D6AC-4278-8554-1E000AF5A57D}">描述对象之间的消息</a>
    </li>
    <li class="mvd-P">
        <a class="elementLinkWithUserText" href="./../../../rup/guidances/toolmentors/manage_sequence_diagrams_C11A1E78.html" guid="{70C1E98C-D6AC-4278-8554-1E000AF5A57D}">描述对象接收消息时执行的操作</a>
    </li>
</ol>
<p>
    有关时序图的更多详细信息，请参阅：
</p>
<ul>
    <li class="mvd-P">
        <p>
            Rational Rose 联机帮助中的 <span style="FONT-STYLE: italic"><img height="16" alt="帮助手册图标" hspace="0"             src="./../../../rup/resources/helpbook.gif" width="16" border="0" />Sequence Diagrams (Overview)</span> 主题。
        </p>
    </li>
    <li class="mvd-P">
        <img height="15" alt="手册图标" hspace="0" src="./../../../rup/resources/book.gif" width="16" border="0" /> <span         style="FONT-STYLE: italic">Using Rational Rose</span> 手册中的 <span style="FONT-STYLE: italic">Chapter 4, Introduction
        to Diagrams</span> <span style="FONT-STYLE: normal">和</span> <span style="FONT-STYLE: italic">Chapter 9,
        Interaction Diagrams and Specifications</span>。
    </li>
</ul>
<h3>
    1. <a id="Step1" name="Step1"></a>在用例实现下创建时序图<a class="elementLinkWithUserText" href="./../../../rup/guidances/toolmentors/manage_sequence_diagrams_C11A1E78.html" guid="{70C1E98C-D6AC-4278-8554-1E000AF5A57D}"><img height="20" alt="回到页首" hspace="0" src="./../../../rup/resources/top.gif"     width="26" border="0" /></a>
</h3>
<p>
    为用例实现创建时序图时，请考虑将图命名为“&lt;用例名称&gt; － &lt;流类型&gt;”。此命名约定简化了对以后用例实现中参与对象的跟踪。并且，使用文档窗口为时序图所描述的场景输入简要简述。
</p>
<h3>
    2. <a id="Step2" name="Step2"></a>将参与对象和参与者放入时序图<br />
    <a class="elementLinkWithUserText" href="./../../../rup/guidances/toolmentors/manage_sequence_diagrams_C11A1E78.html" guid="{70C1E98C-D6AC-4278-8554-1E000AF5A57D}"><img height="20" alt="回到页首" hspace="0" src="./../../../rup/resources/top.gif"     width="26" border="0" /></a>
</h3>
<p>
    时序图的主要元素之一是对象。对象具有状态、行为和身份。相似对象的结构和行为在其公共类中定义。图中的每个对象都指示一个类的某个实例。未命名的对象称为类实例。在此步骤中，您要执行以下操作：
</p>
<ul>
    <li class="mvd-P">
        <p>
            将参与者拖放到时序图上。
        </p>
    </li>
    <li class="mvd-P">
        向图添加对象并确定对象所属的类。
    </li>
</ul>
<h3>
    3. <a id="Step3" name="Step3"></a>描述对象之间的消息<a class="elementLinkWithUserText" href="./../../../rup/guidances/toolmentors/manage_sequence_diagrams_C11A1E78.html" guid="{70C1E98C-D6AC-4278-8554-1E000AF5A57D}"><img height="20" alt="回到页首" hspace="0" src="./../../../rup/resources/top.gif"     width="26" border="0" /></a>
</h3>
<p>
    消息是参与者和对象之间所作的沟通，表示将执行一个后续操作。它含有从源控制焦点到目标控制焦点的信息。在时序图中，一个消息图标代表一个消息。创建消息时，请使用“消息规约”中的文档字段来描述消息。
</p>
<h3>
    4. <a id="Step4" name="Step4"></a>描述对象接收消息时执行的操作<a class="elementLinkWithUserText" href="./../../../rup/guidances/toolmentors/manage_sequence_diagrams_C11A1E78.html" guid="{70C1E98C-D6AC-4278-8554-1E000AF5A57D}"><img height="20" alt="回到页首" hspace="0" src="./../../../rup/resources/top.gif"     width="26" border="0" /></a>
</h3>
<p>
    要增强消息，可向其附加脚本。请使用时序图工具栏中的“文本框”符号。
</p></td>
</tr>
</table>
</div>
<table class="copyright" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="copyright">Copyright &copy; 2008 版权所有 东软集团股份有限公司&nbsp; 联系邮箱:<a href="mailto:tcoe@neusoft.com">tcoe@neusoft.com</a></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
<script type="text/javascript" language="JavaScript">
				contentPage.onload();
			</script>
</html>
